home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "*\A..\SUPRAS\EasyRas.vbp"
- Begin VB.Form frmTestMain
- Caption = "Form1"
- ClientHeight = 5190
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 7185
- LinkTopic = "Form1"
- ScaleHeight = 5190
- ScaleWidth = 7185
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton cmdAction
- Caption = "DialEntry"
- Height = 495
- Index = 5
- Left = 4080
- TabIndex = 6
- Top = 3555
- Width = 1515
- End
- Begin EasyRas.RasQC RasQC1
- Left = 120
- Top = 3960
- _ExtentX = 1879
- _ExtentY = 1085
- chkAsync = 0 'False
- End
- Begin VB.CommandButton cmdAction
- Caption = "About"
- Height = 495
- Index = 4
- Left = 4080
- TabIndex = 5
- Top = 2985
- Width = 1515
- End
- Begin VB.CommandButton cmdAction
- Caption = "EditEntry"
- Height = 495
- Index = 3
- Left = 4080
- TabIndex = 4
- Top = 2265
- Width = 1515
- End
- Begin VB.CommandButton cmdAction
- Caption = "ListEntry"
- Height = 495
- Index = 2
- Left = 4080
- TabIndex = 3
- Top = 1605
- Width = 1515
- End
- Begin VB.ListBox List1
- Height = 3480
- Left = 210
- TabIndex = 2
- Top = 390
- Width = 2805
- End
- Begin VB.CommandButton cmdAction
- Caption = "AddEntry"
- Height = 495
- Index = 1
- Left = 4080
- TabIndex = 1
- Top = 1065
- Width = 1515
- End
- Begin VB.CommandButton cmdAction
- Caption = "ConnectIt"
- Height = 495
- Index = 0
- Left = 4080
- TabIndex = 0
- Top = 495
- Width = 1515
- End
- Begin VB.Label lblMsg
- BorderStyle = 1 'Fixed Single
- Height = 435
- Left = 30
- TabIndex = 7
- Top = 4710
- Width = 6825
- End
- Attribute VB_Name = "frmTestMain"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- End Sub
- Private Sub cmdAction_Click(Index As Integer)
- Dim sEN$
- With RasQC1
- Select Case Index
- Case 0
- .EntryName = "163"
- .UserName = "XXX"
- .UserPassWord = "XXX"
- .Domain = ""
- .chkAsync = True
- .ConnectIt
- Case 1
- .AddEntry
- Case 2
- .FillEntryList List1
- 'Me.Caption = .EntryList(0)
- Case 3
- If List1.ListIndex = -1 Then Exit Sub
- .EditEntry (List1.ListIndex)
- Case 4
- .AboutRasQC
- Case 5
- .EntryName = List1.List(List1.ListIndex)
- .DialEntry
- End Select
- End With
- End Sub
- Private Sub Form_Load()
- RasQC1.FillEntryList List1
- End Sub
- Private Sub RasQC1_ConnectError(sReturnErrorString As String)
- lblMsg.Caption = sReturnErrorString
- End Sub
-